include_directories(../)

include_directories(../Lib/ffmpeg_install/include)
link_directories(../Lib/ffmpeg_install/lib)

add_executable(
        YaoPlayer
        main.cpp
)

target_link_libraries(YaoPlayer YaoAV)

target_link_libraries(YaoPlayer avcodec)
target_link_libraries(YaoPlayer avformat)
target_link_libraries(YaoPlayer swresample)
target_link_libraries(YaoPlayer avutil)
target_link_libraries(YaoPlayer bz2)
target_link_libraries(YaoPlayer z)
target_link_libraries(YaoPlayer iconv)

